module.exports = [
  {
    url: '/admin/product/spuList',
    type: 'get',
    response: (config) => {
      return {
        code: 200,
        message: 'success',
        data: {
          records: [
            {
              id: 1,
              spuName: 'iPhone 15 Pro Max',
              description: '苹果最新旗舰手机，搭载A17 Pro芯片，支持5G网络。',
              category3Id: 61,
              tmId: 1,
              tmName: '苹果',
              spuSaleAttrList: [
                {
                  id: 1,
                  spuId: 1,
                  baseSaleAttrId: 1,
                  saleAttrName: '颜色',
                  spuSaleAttrValueList: [
                    {
                      id: 1,
                      spuId: 1,
                      baseSaleAttrId: 1,
                      saleAttrValueName: '黑色',
                      saleAttrName: '颜色',
                      isChecked: '0',
                    },
                    {
                      id: 2,
                      spuId: 1,
                      baseSaleAttrId: 1,
                      saleAttrValueName: '白色',
                      saleAttrName: '颜色',
                      isChecked: '0',
                    },
                    {
                      id: 3,
                      spuId: 1,
                      baseSaleAttrId: 1,
                      saleAttrValueName: '金色',
                      saleAttrName: '颜色',
                      isChecked: '0',
                    },
                  ],
                },
                {
                  id: 2,
                  spuId: 1,
                  baseSaleAttrId: 2,
                  saleAttrName: '内存',
                  spuSaleAttrValueList: [
                    {
                      id: 4,
                      spuId: 1,
                      baseSaleAttrId: 2,
                      saleAttrValueName: '128GB',
                      saleAttrName: '内存',
                      isChecked: '0',
                    },
                    {
                      id: 5,
                      spuId: 1,
                      baseSaleAttrId: 2,
                      saleAttrValueName: '256GB',
                      saleAttrName: '内存',
                      isChecked: '0',
                    },
                    {
                      id: 6,
                      spuId: 1,
                      baseSaleAttrId: 2,
                      saleAttrValueName: '512GB',
                      saleAttrName: '内存',
                      isChecked: '0',
                    },
                  ],
                },
              ],
              spuImageList: [
                {
                  id: 1,
                  spuId: 1,
                  imgName: 'iPhone15ProMax-Black-1.jpg',
                  imgUrl: 'https://example.com/images/iphone15promax-black-1.jpg',
                  isDefault: '1',
                },
                {
                  id: 2,
                  spuId: 1,
                  imgName: 'iPhone15ProMax-Black-2.jpg',
                  imgUrl: 'https://example.com/images/iphone15promax-black-2.jpg',
                  isDefault: '0',
                },
              ],
            },
            {
              id: 2,
              spuName: '华为 Mate 60 Pro',
              description: '华为高端旗舰手机，麒麟9000S芯片，卫星通信功能。',
              category3Id: 61,
              tmId: 2,
              tmName: '华为',
              spuSaleAttrList: [
                {
                  id: 3,
                  spuId: 2,
                  baseSaleAttrId: 1,
                  saleAttrName: '颜色',
                  spuSaleAttrValueList: [
                    {
                      id: 7,
                      spuId: 2,
                      baseSaleAttrId: 1,
                      saleAttrValueName: '雅川青',
                      saleAttrName: '颜色',
                      isChecked: '0',
                    },
                    {
                      id: 8,
                      spuId: 2,
                      baseSaleAttrId: 1,
                      saleAttrValueName: '南糯紫',
                      saleAttrName: '颜色',
                      isChecked: '0',
                    },
                  ],
                },
                {
                  id: 4,
                  spuId: 2,
                  baseSaleAttrId: 2,
                  saleAttrName: '内存',
                  spuSaleAttrValueList: [
                    {
                      id: 9,
                      spuId: 2,
                      baseSaleAttrId: 2,
                      saleAttrValueName: '256GB',
                      saleAttrName: '内存',
                      isChecked: '0',
                    },
                    {
                      id: 10,
                      spuId: 2,
                      baseSaleAttrId: 2,
                      saleAttrValueName: '512GB',
                      saleAttrName: '内存',
                      isChecked: '0',
                    },
                  ],
                },
              ],
              spuImageList: [
                {
                  id: 3,
                  spuId: 2,
                  imgName: 'HuaweiMate60Pro-Green-1.jpg',
                  imgUrl: 'https://example.com/images/huaweimate60pro-green-1.jpg',
                  isDefault: '1',
                },
                {
                  id: 4,
                  spuId: 2,
                  imgName: 'HuaweiMate60Pro-Green-2.jpg',
                  imgUrl: 'https://example.com/images/huaweimate60pro-green-2.jpg',
                  isDefault: '0',
                },
              ],
            },
            {
              id: 3,
              spuName: '小米 14',
              description: '小米新一代数字旗舰，搭载骁龙8 Gen 3，徕卡影像系统。',
              category3Id: 61,
              tmId: 3,
              tmName: '小米',
              spuSaleAttrList: [
                {
                  id: 5,
                  spuId: 3,
                  baseSaleAttrId: 1,
                  saleAttrName: '颜色',
                  spuSaleAttrValueList: [
                    {
                      id: 11,
                      spuId: 3,
                      baseSaleAttrId: 1,
                      saleAttrValueName: '黑色',
                      saleAttrName: '颜色',
                      isChecked: '0',
                    },
                    {
                      id: 12,
                      spuId: 3,
                      baseSaleAttrId: 1,
                      saleAttrValueName: '白色',
                      saleAttrName: '颜色',
                      isChecked: '0',
                    },
                  ],
                },
              ],
              spuImageList: [
                {
                  id: 5,
                  spuId: 3,
                  imgName: 'Xiaomi14-Black-1.jpg',
                  imgUrl: 'https://example.com/images/xiaomi14-black-1.jpg',
                  isDefault: '1',
                },
              ],
            },
          ],
          total: 3,
          size: 10,
          current: 1,
          searchCount: true,
          pages: 1,
        },
      };
    },
  },
];
